package com.example.transaction.sys.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

public class Favorites implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "FavoritesID", type = IdType.AUTO)
    private Integer favoritesID;

    @TableField(value = "UserID")
    private Integer userID;

    @TableField(value = "ItemID")
    private Integer itemID;

    @TableField("deleted")
    private Integer deleted;

    public Integer getFavoritesID() {
        return favoritesID;
    }

    public void setFavoritesID(Integer favoritesID) {
        this.favoritesID = favoritesID;
    }

    public Integer getUserID() {
        return userID;
    }

    public void setUserID(Integer userID) {
        this.userID = userID;
    }

    public Integer getItemID() {
        return itemID;
    }

    public void setItemID(Integer itemID) {
        this.itemID = itemID;
    }

    public Integer getDeleted() {
        return deleted;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }

    @Override
    public String toString() {
        return "Favorites{" +
                "favoritesID=" + favoritesID +
                ", userID=" + userID +
                ", itemID=" + itemID +
                ", deleted=" + deleted +
                '}';
    }
}
